package com.tianji.learning.utils;

public class TableInfoContext {
    private static final ThreadLocal<String> TABLE_INFO = new ThreadLocal<>();

    public static void setTableInfo(String tableInfo) {
        TABLE_INFO.set(tableInfo);
    }

    public static String getTableInfo() {
        return TABLE_INFO.get();
    }

    public static void clear() {
        TABLE_INFO.remove();
    }
}
